#set($layout= "desktop/default/default-layout.html")
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="Content-Language" content="zh-CN"/>
    <title>${blog-title}</title>
    <meta name="viewport" content="width=device-width">
    <link rel="stylesheet" rev="stylesheet" href="/resources/desktop/default/style/default.css" type="text/css" media="all"/>
    <script src="/resources/system/script/common.js" type="text/javascript"></script>
    <script src="/resources/system/script/c_html_js_add.php" type="text/javascript"></script>
    <script src="/resources/desktop/default/script/custom.js" type="text/javascript"></script>
</head>
<body class="single article">
<div id="divAll">
    <div id="divPage">
        <div id="divMiddle">
            <div id="divTop">
                <h1 id="BlogTitle"><a href="/">${blog-title}</a></h1>
                <h3 id="BlogSubTitle">${blog-sub-title}</h3>
            </div>
            <div id="divNavBar">
                <ul>
                    <li id="nvabar-item-index"><a href="/index.html">首页</a></li>
                    #foreach($category in $categorys)
                    <li id="navbar-page-$!{category.id}"><a href="/category-$!{category.id}.html">$!{category.name}</a></li>
                    #end
                </ul>
            </div>
            <div id="divMain">

                #foreach($article in $articles)
                <div class="post single">
                    <h4 class="post-date">$!article.createTime</h4>
                    <h2 class="post-title">$!article.title</h2>
                    <div class="post-body">$!article.body</div>
                    <h5 class="post-tags">标签总数：$!article.tagNum</h5>
                    <h6 class="post-footer">
                        作者:$!article.userId&nbsp;,&nbsp;分类:$!article.cateId&nbsp;,&nbsp;
                        浏览:$!article.viewNum&nbsp;,&nbsp;评论:$!article.commentNum
                    </h6>
                </div>
                #end
            </div>
            <!--<div id="divSidebar">
                <dl class="function" id="divCalendar">
                    <dt style="display:none;"></dt>
                    <dd class="function_c">

                        <div>
                            <table id="tbCalendar">
                                <caption><a href="/?date=2016-8">«</a>&nbsp;&nbsp;&nbsp;<a
                                        href="/?date=2016-9">2016年9月</a>&nbsp;&nbsp;&nbsp;<a
                                        href="/?date=2016-10">»</a></caption>
                                <thead>
                                <tr>
                                    <th title="星期一" scope="col">
                                        <small>一</small>
                                    </th>
                                    <th title="星期二" scope="col">
                                        <small>二</small>
                                    </th>
                                    <th title="星期三" scope="col">
                                        <small>三</small>
                                    </th>
                                    <th title="星期四" scope="col">
                                        <small>四</small>
                                    </th>
                                    <th title="星期五" scope="col">
                                        <small>五</small>
                                    </th>
                                    <th title="星期六" scope="col">
                                        <small>六</small>
                                    </th>
                                    <th title="星期日" scope="col">
                                        <small>日</small>
                                    </th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr>
                                    <td class="pad" colspan="3"></td>
                                    <td>1</td>
                                    <td>2</td>
                                    <td>3</td>
                                    <td>4</td>
                                </tr>
                                <tr>
                                    <td>5</td>
                                    <td>6</td>
                                    <td>7</td>
                                    <td>8</td>
                                    <td>9</td>
                                    <td>10</td>
                                    <td>11</td>
                                </tr>
                                <tr>
                                    <td>12</td>
                                    <td><a href="/?id=1">13</a></td>
                                    <td>14</td>
                                    <td>15</td>
                                    <td>16</td>
                                    <td>17</td>
                                    <td>18</td>
                                </tr>
                                <tr>
                                    <td>19</td>
                                    <td>20</td>
                                    <td>21</td>
                                    <td>22</td>
                                    <td>23</td>
                                    <td>24</td>
                                    <td>25</td>
                                </tr>
                                <tr>
                                    <td>26</td>
                                    <td>27</td>
                                    <td>28</td>
                                    <td>29</td>
                                    <td>30</td>
                                    <td class="pad" colspan="2"></td>
                                </tr>
                                </tbody>
                            </table>
                        </div>


                    </dd>
                </dl>
                <dl class="function" id="divContorPanel">
                    <dt class="function_t">控制面板</dt>
                    <dd class="function_c">

                        <div><span class="cp-hello">您好,欢迎到访网站!</span><br/><span class="cp-login"><a
                                href="/zb_system/cmd.php?act=login">登录后台</a></span>&nbsp;&nbsp;<span
                                class="cp-vrs"><a
                                href="/zb_system/cmd.php?act=misc&amp;type=vrs">查看权限</a></span>
                        </div>


                    </dd>
                </dl>
                <dl class="function" id="divCatalog">
                    <dt class="function_t">网站分类</dt>
                    <dd class="function_c">


                        <ul></ul>

                    </dd>
                </dl>
                <dl class="function" id="divSearchPanel">
                    <dt class="function_t">搜索</dt>
                    <dd class="function_c">

                        <div>
                            <form name="search" method="post"
                                  action="/zb_system/cmd.php?act=search"><input type="text"
                                                                                                       name="q"
                                                                                                       size="11"/>
                                <input type="submit" value="搜索"/></form>
                        </div>


                    </dd>
                </dl>
                <dl class="function" id="divComments">
                    <dt class="function_t">最新留言</dt>
                    <dd class="function_c">


                        <ul></ul>

                    </dd>
                </dl>
                <dl class="function" id="divArchives">
                    <dt class="function_t">文章归档</dt>
                    <dd class="function_c">


                        <ul>
                            <li><a href="/?date=2016-9">2016年9月 (1)</a></li>
                        </ul>

                    </dd>
                </dl>
                <dl class="function" id="divFavorites">
                    <dt class="function_t">网站收藏</dt>
                    <dd class="function_c">


                        <ul>
                            <li><a href="http://bbs.zblogcn.com/" target="_blank">ZBlogger社区</a></li>
                            <li><a href="http://app.zblogcn.com/" target="_blank">Z-Blog应用中心</a></li>
                            <li><a href="http://weibo.com/zblogcn" target="_blank">Z-Blog新浪官微</a></li>
                            <li><a href="http://t.qq.com/zblogcn" target="_blank">Z-Blog腾讯官微</a></li>
                        </ul>

                    </dd>
                </dl>
                <dl class="function" id="divLinkage">
                    <dt class="function_t">友情链接</dt>
                    <dd class="function_c">


                        <ul>
                            <li><a href="http://www.dbshost.cn/" target="_blank" title="独立博客服务 Z-Blog官方主机">DBS主机</a>
                            </li>
                        </ul>

                    </dd>
                </dl>
                <dl class="function" id="divMisc">
                    <dt style="display:none;"></dt>
                    <dd class="function_c">


                        <ul>
                            <li><a href="http://www.zblogcn.com/" target="_blank"><img
                                    src="/zb_system/image/logo/zblog.gif" height="31" width="88"
                                    alt="RainbowSoft Studio Z-Blog"/></a></li>
                            <li><a href="/feed.php" target="_blank"><img
                                    src="/zb_system/image/logo/rss.png" height="31" width="88"
                                    alt="订阅本站的 RSS 2.0 新闻聚合"/></a></li>
                        </ul>

                    </dd>
                </dl>
            </div>-->
            <div id="divBottom">
                <h4 id="BlogPowerBy">Powered By <a href="http://zblog4java.javaear.com/" target="_blank">ZBlog4java</a></h4>
                <h3 id="BlogCopyRight">Copyright Your WebSite.Some Rights Reserved.</h3>
            </div>
            <div class="clear"></div>
        </div>
        <div class="clear"></div>
    </div>
    <div class="clear"></div>
</div>
</body>
</html>